package ar.com.mooral.activities;

import java.util.Collections;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Vector;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import ar.com.mooral.crohn.application.CrohnContext;
import ar.com.mooral.crohn.view.CrohnButton;
import ar.com.mooral.crohn.view.CrohnCheckBox;
import ar.com.mooral.crohn.view.CrohnImageView;
import ar.com.mooral.data.Depositions;
import ar.com.mooral.data.FoodList;
import ar.com.mooral.data.Medications;
import ar.com.mooral.data.MedicationsList;
import ar.com.mooral.data.SexualActivityIncidence;
import ar.com.mooral.pojo.BasePojo;
import ar.com.mooral.pojo.MedicationPojo;
import ar.com.mooral.pojo.util.PojoComparatorName;


public class More extends CrohnMenuActivity {

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.more);
        
	    
		// PERSONAL DATA
        ImageButton btnMorePersonalData = (ImageButton) findViewById(R.id.btnMorePersonalData);
        btnMorePersonalData.setOnClickListener (new View.OnClickListener() {
		    public void onClick(View view) {
				Intent intent = new Intent();
				intent.setComponent(new ComponentName(	DatosPersonales.class.getPackage().getName(), 
						DatosPersonales.class.getName()));
				//startActivity(intent);
				TabGroupActivity parentActivity = (TabGroupActivity)getParent();
         		parentActivity.startChildActivity("DatosPersonales", intent);
		    }
		});

		// DOCTOR CONSULTATION
        ImageButton btnMoreDoctorConsultations = (ImageButton) findViewById(R.id.btnMoreDoctorConsultations);
        btnMoreDoctorConsultations.setOnClickListener (new View.OnClickListener() {
		    public void onClick(View view) {
				Intent intent = new Intent();
				intent.setComponent(new ComponentName(	DoctorConsultations.class.getPackage().getName(), 
						DoctorConsultations.class.getName()));
				//startActivity(intent);
				TabGroupActivity parentActivity = (TabGroupActivity)getParent();
         		parentActivity.startChildActivity("DoctorConsultations", intent);
				
		    }
		});

    }
}
